control
Class OrchestratorKey

java.lang.Object
  extended by control.OrchestratorKey

public class OrchestratorKey
extends java.lang.Object

Class to contain a couple of states which are in simulation with the action for that they are simulated


Field Summary
private  Action action
           
private  SimulatedBy s
           
 
Constructor Summary
OrchestratorKey(SimulatedBy s, Action action)
           
 
Method Summary
 boolean equals(java.lang.Object o)
           
 Action getAction()
          gets the action which is part of this orchestrator key
 SimulatedBy getSimulatedBy()
          gets the pair of states which are in this orchestrator key
 int hashCode()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

s

private SimulatedBy s

action

private Action action
Constructor Detail

OrchestratorKey

public OrchestratorKey(SimulatedBy s,
                       Action action)
Method Detail

getSimulatedBy

public SimulatedBy getSimulatedBy()
gets the pair of states which are in this orchestrator key

Returns:
an object SimulatedBy that represents the pair of states

getAction

public Action getAction()
gets the action which is part of this orchestrator key

Returns:
an action

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object